package com.gw.vip.center.service.dao_service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gw.vip.center.dao.UserInfoMapper;
import com.gw.vip.center.po.UserInfo;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author GW
 * @description
 * @since 2022-03-30
 */
@Service
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
public class UserInfoService extends ServiceImpl<UserInfoMapper, UserInfo> {

    private final UserInfoMapper mapper;

    public UserInfo getByMail(String mail){
        return this.mapper.getByMail(mail);
    }
}
